
Wt 3.3.1文档翻译:Wt::Http::Message类参考,Wt::Http::Message Class Reference
公有成员函数 |
|
|
int |
status () const |
|
返回状态码。详细说明…… |
|
|
std::string |
body () const |
一个HTTP客户端消息(请求或回复)。
这个类,实现的是一条由HTTP客户端发送或接收的消息。
不要将它与请求和回复混淆,那两个东西是在网页程序服务器的处理过程中使用的。
|
std::string Wt::Http::Message::body |
( |
) |
const |
返回消息体的文本内容。
|
int Wt::Http::Message::status |
( |
) |
const |
返回状态码。
这个函数会返回一个回复消息的HTTP状态码。典型的值是200 (正常完成) 或404 (未找到)。
未知美人
未知美人
HxLauncher: Launch Android applications by voice commands